package com.yonyou.pmclouds.plantemplate.rmiitf;

import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.plantemplate.entity.ScheduleTemplateVO;

public interface IScheduleTemplateQueryService {

    /**
     * 通过计划模板主键查询计划模板数据
     * @param pkScheduleTemplate 计划模板主键
     * @return 计划模板VO
     */
    ScheduleTemplateVO queryById(String pkScheduleTemplate) throws BusinessException;

    ScheduleTemplateVO[] searchTemplate(String keyword) throws BusinessException;

    /**
     * 根据租户，组织，类型搜索模板
     * @param pkTenant
     * @param pkOrg
     * @param type
     * @return
     * @throws BusinessException
     */
    ScheduleTemplateVO[] autoSearchPlanTemp(String pkTenant,String pkOrg,String type) throws BusinessException;


}
